package com.landun.market.service;

import com.landun.market.pojo.model.Category;
import com.landun.market.pojo.model.Price;

import java.io.InputStream;
import java.util.Date;
import java.util.List;

/**
 * Created by yi.zhao on 2018/5/19.
 */
public interface IPriceService {
    boolean importDraft(Date priceDate, InputStream excelInputStream) throws Exception;
    List<Price> getDraft(Date priceDate, Category category);
    boolean publish(Date priceDate);
    List<Price> getPublished(Date priceDate, Category category);
    boolean update(Price price);


}
